import { get, post } from "../utils/request";

export function pageTrainingInfo(params) {
  return post("/mini/v1/trainingInfo/pageTrainingInfo", params);
}

export function addApply(params) {
  return post("/mini/v1/trainingInfo/add", params);
}

export function trainingInfoList(params) {
  return post("/mini/v1/trainingInfo/list", params);
}

export function update(params) {
  return post("/mini/v1/trainingInfo/update", params);
}

export function complete(params) {
  return post("/mini/v1/trainingInfo/complete", params);
}

export function audit(params) {
  return post("/mini/v1/trainingInfo/audit", params);
}

export function getTrainingInfoWait(params) {
  return get(`/mini/v1/trainingInfo/getTrainingInfoWait/id/`,params);
}

export function selectMiniTranUsers(params) {
  return get(`/mini/v1/trainingInfo/selectMiniTranUsers`,params);
}

export function pageHidden(params) {
  return post(`/mini/v1/hiddenDangerInfo/pageHidden`,params);
}

export function selectHiddenById(params) {
  return get(`/mini/v1/hiddenDangerInfo/selectHiddenById`,params);
}















